package com.web.uid;

public interface IdGenerator {


    /**
     * 获取UID
     *
     * @return UID
     */
    long getUID();

    /**
     * 将生成的uid解析成 timestamp & workerId & sequence...等
     *
     * @param uid
     * @return Parsed info
     */
    String parseUID(long uid);
}
